﻿using EFCore.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SIService
{
    public interface ProductTypeSI
    {
        //分页模糊查询
        Task<List<PO_ProductType>> FenYe(int pageSize, int currentPage, string Key = null, bool? Status = null,string Operator = null,DateTime? OperationTime=null);
        //添加
        Task<int> Add(PO_ProductType proAdd);
        //修改
        Task<int> Upd(PO_ProductType proUpd);
        //逻辑删除
        public Task<int> UpdIsDelete(int id, bool isDeleted);
        //级联
        public Task<List<PO_ProductType>> Erji(int pid);
        public Task<List<PO_ProductType>> Yiji();
    }
}
